//
// Created by ASUS on 2025/4/24.
//

#include "employee.h"

employee::employee(int id ,string name,int dId){
    this->id=id;
    this->name=name;
    this->deptId=dId;
}
employee::employee(){

};
//显示信息
void employee::ShowTnfo(){
    cout<<"id:"<< this->id
    <<"\tname:"<<this->name
    <<"\tdeptid:"<<this->getDeptName()
    <<"\tduty:finish your work which manager give"<<endl;
}

//获取岗位
 string employee::getDeptName(){
    return string ("employee");
};
